package com.user.mock.user;

import com.entity.user.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("INSERT INTO user(id, name, account, phone, email, password, " +
            "                 sex, birthday, intro, create_time, update_time, comment) " +
            "VALUES (#{id}, #{name}, #{account}, #{phone}, #{email}, #{password}, " +
            "         #{sex} , #{birthday}, #{intro}, #{createTime}, #{updateTime}, #{comment})")
    void save(User user);
}
